</div>
<!-- END CONTENT BODY -->
</div>
<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="page-footer">
    <div class="page-footer-inner"> 2016 &copy; Powered by <a href="http://www.kingsvn.com" target="_blank" class="font-green">KingSvn!</a> 金星科技 版权所有 TEL：18607775565 Email：5478890@qq.com</div>
    <div class="scroll-to-top">
        <i class="icon-arrow-up"></i>
    </div>
</div>
<!-- END FOOTER -->
<!--[if lt IE 9]>
<script src="__ROOT__/static/assets/global/plugins/respond.min.js"></script>
<script src="__ROOT__/static/assets/global/plugins/excanvas.min.js"></script> 
<![endif]-->
<!-- BEGIN CORE PLUGINS -->
<script src="__ROOT__/static/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/js.cookie.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/bootstrap-select/js/bootstrap-select.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/icheck/icheck.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN THEME GLOBAL SCRIPTS -->
<script src="__ROOT__/static/assets/global/scripts/app.min.js" type="text/javascript"></script>
<!-- END THEME GLOBAL SCRIPTS -->
<script src="__ROOT__/static/assets/pages/scripts/components-bootstrap-select.min.js" type="text/javascript"></script>
<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/jquery.validate.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/additional-methods.min.js" type="text/javascript"></script>
<script src="__ROOT__/static/assets/global/plugins/jquery-validation/js/localization/messages_zh.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN THEME LAYOUT SCRIPTS -->
<script src="__ROOT__/static/assets/layouts/layout2/scripts/layout.min.js" type="text/javascript"></script>
<!-- END THEME LAYOUT SCRIPTS -->
<!-- BEGIN KINGSVN SCRIPTS -->
<script src="__ROOT__/static/plugin/ks-ajaxpost-1.0/ks-ajaxpost-1.0.js" type="text/javascript"></script>
<!-- END KINGSVN SCRIPTS -->
<script>
    $(function () {
        $("#btn_logout").on('click', function () {
            $(this).ajaxPost({
                confirm: "确定退出登录？",
                url: "{:url('common/logout')}"
            });
        })

        //iCheck样式
        $('input[type="checkbox"].icheck-flat, input[type="radio"].icheck-flat').iCheck({
            checkboxClass: 'iradio_flat-green',
            radioClass: 'iradio_flat-green'
        });

        //左侧菜单根据URL选中样式

        $('li.ks-menu').each(function () {
            var $li = $(this);
            var a = $li.find('a');
            var url = window.location.pathname + window.location.search;
            $.each(a, function () {
                var href = $(this).attr('href');
                if (href == url) {
                    $li.addClass('active');
                }
            })

        })
    })
</script>
</body>
</html>